package com.bsoft.wx.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bsoft.wx.mapper.SysConfigMapper;
import com.bsoft.wx.pojo.SysConfig;
import com.bsoft.wx.service.SysConfigService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author hdh
 * @since 2023-01-11
 */
@Service
public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig> implements SysConfigService {

    @Override
    public List<SysConfig> selectAllParam() {
        QueryWrapper queryWrapper = new QueryWrapper();
        queryWrapper.eq("status", 1);
        List<SysConfig> list = baseMapper.selectList(queryWrapper);
        return list;
    }
}
